package ${escapeKotlinIdentifiers(packageName)}

import android.app.Application
import android.content.Intent
import com.lib.common.base.mvvm.CommonActivityViewModel
import androidx.databinding.ObservableField

/**
 * Copyright (C), 2019-2020
 * FileName: ${viewModelClass}
 * Author: 
 * Date: 2020-01-01 00:00
 * Description: XXX 页面的 ViewModel
 * History:
 * <author> <time> <version> <desc>
 * 作者姓名 修改时间 版本号 描述
 */
class ${viewModelClass}(application: Application) : CommonActivityViewModel(application) {

    /**
     * xml 文件直接调用的变量
     */
    var mText = ObservableField<String>()

    override fun initData(intent: Intent?) {
        sendEvent(${activityClass}.EVENT_XXX, "extraParam")
    }
}